package com.iraeta.dao.main.sys;

import com.iraeta.entity.main.SysFiles;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 文件上传Mapper接口
 * 
 * @author iraeta
 * @date 2023-11-04
 */
@Repository
public interface SysFilesDao
{
    public SysFiles selectSysFilesByFId(Long fId);

    public List<SysFiles> selectSysFilesList(SysFiles sysFiles);

    public int insertSysFiles(SysFiles sysFiles);

    public int deleteSysFilesByFId(Long fId);

    public void updateSysFilesEntityId(@Param("oldEntityId") long oldEntityId, @Param("newEntityId")  long newEntityId);
}
